package io.unicorn.modules.waterfgs.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.unicorn.common.utils.PageUtils;
import io.unicorn.common.utils.Query;

import io.unicorn.modules.waterfgs.dao.DataErrFixedInfoFgsDao;
import io.unicorn.modules.waterfgs.entity.DataErrFixedInfoFgsEntity;
import io.unicorn.modules.waterfgs.service.DataErrFixedInfoFgsService;


@Service("dataErrFixedInfoFgsService")
public class DataErrFixedInfoFgsServiceImpl extends ServiceImpl<DataErrFixedInfoFgsDao, DataErrFixedInfoFgsEntity> implements DataErrFixedInfoFgsService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<DataErrFixedInfoFgsEntity> page = this.page(
                new Query<DataErrFixedInfoFgsEntity>().getPage(params),
                new QueryWrapper<DataErrFixedInfoFgsEntity>()
        );

        return new PageUtils(page);
    }

}
